package com.fingard.dsp.bank.reqrespobj.batchbill.detail;

import com.fingard.xml.XElement;

/**
 * Created by F on 2019/10/20.
 */
public class ReqBillAddSubmitDetail {
    /**
     * 批次编号
     */
    public String batchNo ="";
    /**
     * 出票人账号
     */
    public String drawAct ="";
    /**
     * 票面金额
     */
    public String billAmt ="";
    /**

     Disconnected from the target VM, address: '127.0.0.1:5842', transport: 'socket'
     * 到期日
     */
    public String dueDate ="";
    /**
     * 出票日
     */
    public String issDate ="";
    /**
     * 收款人名称
     */
    public String payeeName ="";
    /**
     * 收款人账号
     */
    public String payeeAct ="";
    /**
     * 收款人开户行
     */
    public String payeeBnkName ="";
    /**
     * 收款人开户行行号
     */
    public String payeeBnkCode ="";
    /**
     * 行内行外标志
     */
    public String payeeSameBnk ="";
    /**
     * 交易合同号
     */
    public String contractNo ="";
    /**
     * 是否可转让
     */
    public String transFlag ="";
    /**
     * 备注
     */
    public String remark ="";

    public ReqBillAddSubmitDetail(XElement p_element) throws Exception{
        batchNo = p_element.getSingleText("BatchNo");
        drawAct = p_element.getSingleText("DrawAct");
        billAmt = p_element.getSingleText("BillAmt");
        dueDate = p_element.getSingleText("DueDate");
        issDate = p_element.getSingleText("IssDate");
        payeeName = p_element.getSingleText("PayeeName");
        payeeAct = p_element.getSingleText("PayeeAct");
        payeeBnkName = p_element.getSingleText("PayeeBnkName");
        payeeBnkCode = p_element.getSingleText("PayeeBnkCode");
        payeeSameBnk = p_element.getSingleText("PayeeSameBnk");
        contractNo = p_element.getSingleText("ContractNo");
        transFlag = p_element.getSingleText("TransFlag");
        remark = p_element.getSingleText("Remark");
    }
}
